package com.lx.bbs.vo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
@Component
@ConfigurationProperties(prefix = "demo")
public class Person {
    String name;
    int age;
    String[] likes;
    List<String> schools;
    Set<Person> friends;
    Map<String, String> familys;
    List<Dog> dogs;

}

@Data
class Dog {
    String name;
    int age;
}
